{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Unit selection based on counterfactual logic"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Causal ML contains an experimental version of the counterfactual unit selection method proposed by [Li and Pearl (2019)](https://ftp.cs.ucla.edu/pub/stat_ser/r488.pdf). The method has not been extensively tested or optimised so the user should proceed with caution. This notebook demonstrates the basic use of the counterfactual unit selector."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "\n",
    "from sklearn.linear_model import LogisticRegressionCV\n",
    "from sklearn.model_selection import train_test_split\n",
    "\n",
    "from causalml.dataset import make_uplift_classification\n",
    "from causalml.optimize import CounterfactualUnitSelector\n",
    "from causalml.optimize import get_treatment_costs\n",
    "from causalml.optimize import get_actual_value\n",
    "\n",
    "import matplotlib.pyplot as plt\n",
    "import seaborn as sns\n",
    "sns.set_style('white')\n",
    "\n",
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Generate data\n",
    "We first generate some synthetic data using the built-in function."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "df, X_names = make_uplift_classification(n_samples=5000,\n",
    "                                         treatment_name=['control', 'treatment'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Lump all treatments together for this demo\n",
    "df['treatment_numeric'] = df['treatment_group_key'].replace({'control': 0, 'treatment': 1})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "treatment    5000\n",
       "control      5000\n",
       "Name: treatment_group_key, dtype: int64"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df['treatment_group_key'].value_counts()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Specify payoffs\n",
    "In the context of a simple two-armed experiment, the counterfactual unit selection approach considers the following four segments of individuals:\n",
    "\n",
    "* Never-takers: those who will not convert whether or not they are in the treatment\n",
    "* Always-takers: those who will convert whether or not they are in the treatment\n",
    "* Compliers: those who will convert if they are in the treatment and will not convert if they are in the control\n",
    "* Defiers: those who will convert if they are in the control and will not convert if they are in the treatment\n",
    "\n",
    "If we assume that the payoff from conversion is \\$20 and the conversion cost of a treatment is \\$2.5, then we can calculate the payoffs for targeting each type of individual as follows. For nevertakers, the payoff is always \\$0 because they will not convert or use a promotion. For alwaystakers, the payoff is -\\$2.5 because they would convert anyway but now we additionally give them a treatment worth \\$2.5. For compliers, the payoff is the benefit from conversion minus the cost of the treatment, and for defiers the payoff is -\\$20 because they would convert if we didn't treat them."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "nevertaker_payoff = 0\n",
    "alwaystaker_payoff = -2.5\n",
    "complier_payoff = 17.5\n",
    "defier_payoff = -20"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Run counterfactual unit selector\n",
    "\n",
    "In this section we run the CounterfactualUnitSelector model and compare its performance against random assignment and a scheme in which all units are assigned to the treatment that has the best conversion in the training set. We measure the performance by looking at the average actual value payoff from those units in the testing set who happen to be in the treatment group recommended by each approach."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Specify the same costs as above but in a different form\n",
    "tc_dict = {'control': 0, 'treatment': 2.5}\n",
    "ic_dict = {'control': 0, 'treatment': 0}\n",
    "conversion_value = np.full(df.shape[0], 20)\n",
    "\n",
    "# Use the above information to get the cost of each treatment\n",
    "cc_array, ic_array, conditions = get_treatment_costs(\n",
    "    treatment=df['treatment_group_key'], control_name='control',\n",
    "    cc_dict=tc_dict, ic_dict=ic_dict)\n",
    "    \n",
    "# Get the actual value of having a unit in their actual treatment\n",
    "actual_value = get_actual_value(treatment=df['treatment_group_key'],\n",
    "                                observed_outcome=df['conversion'],\n",
    "                                conversion_value=conversion_value,\n",
    "                                conditions=conditions,\n",
    "                                conversion_cost=cc_array,\n",
    "                                impression_cost=ic_array)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "df_train, df_test = train_test_split(df)\n",
    "train_idx = df_train.index\n",
    "test_idx = df_test.index"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Get the outcome if treatments were allocated randomly\n",
    "random_allocation_value = actual_value.loc[test_idx].mean()\n",
    "\n",
    "# Get the actual value of those individuals who are in the best\n",
    "# treatment group\n",
    "best_ate = df_train.groupby(\n",
    "    'treatment_group_key')['conversion'].mean().idxmax()\n",
    "actual_is_best_ate = df_test['treatment_group_key'] == best_ate\n",
    "best_ate_value = actual_value.loc[test_idx][actual_is_best_ate].mean()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "cus = CounterfactualUnitSelector(learner=LogisticRegressionCV(),\n",
    "                                 nevertaker_payoff=nevertaker_payoff,\n",
    "                                 alwaystaker_payoff=alwaystaker_payoff,\n",
    "                                 complier_payoff=complier_payoff,\n",
    "                                 defier_payoff=defier_payoff)\n",
    "\n",
    "cus.fit(data=df_train.drop('treatment_group_key', 1),\n",
    "        treatment='treatment_numeric',\n",
    "        outcome='conversion')\n",
    "\n",
    "cus_pred = cus.predict(data=df_test.drop('treatment_group_key', 1),\n",
    "                       treatment='treatment_numeric',\n",
    "                       outcome='conversion')\n",
    "\n",
    "best_cus = np.where(cus_pred > 0, 1, 0)\n",
    "actual_is_cus = df_test['treatment_numeric'] == best_cus.ravel()\n",
    "cus_value = actual_value.loc[test_idx][actual_is_cus].mean()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs":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WQ7n3FkT7FDiy8q61y/IjtifI6ccnuZnJJbICL2iojPkqXaN9YZpJXjYgXrChGxPvAZ8jhvyH0jm5MVU1uTh9q9Rp4n9GwtQdqQKDolTJJ0aPHQ68XPB4HVycKEVYDPSnqk7QHaTHMism5xC7AP2bJlK2BhYDVJj0TEFOCjkn5HJiPrbHMBG0bERyXdALxZPD4GWFHStkXbHnfR7hCemrOuIGkKeYz3jcCmZNfsRyJiLbJi6vE647OhI2kSebrqehHx3pZ9X0sCY4rCBCehDuKqOesqRW+xz5Inbz5IrgudIOmqOuOyoRURiwO7A7OTa0M9ZNHCXi7R7jxORNZ1irOGdgC+A+wmaULNIVkFiqMd1ga2AJ4lj3S4r96obCCciKwrFSOjBSU91nv+UN0xmdk7cyIyM7NauVjBzMxq5URkZma1ciIyM7NaORGZmVmtnIjMzKxWTkRmZlYrJyIzM6vV/wexdyz1V93yEQAAAABJRU5ErkJggg==\n",
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       "  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<!-- Created with matplotlib (https://matplotlib.org/) -->\n",
       "<svg height=\"328.136202pt\" version=\"1.1\" viewBox=\"0 0 419.976875 328.136202\" width=\"419.976875pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
       " <defs>\n",
       "  <style type=\"text/css\">\n",
       "*{stroke-linecap:butt;stroke-linejoin:round;}\n",
       "  </style>\n",
       " </defs>\n",
       " <g id=\"figure_1\">\n",
       "  <g id=\"patch_1\">\n",
       "   <path d=\"M 0 328.136202 \n",
       "L 419.976875 328.136202 \n",
       "L 419.976875 0 \n",
       "L 0 0 \n",
       "z\n",
       "\" style=\"fill:none;\"/>\n",
       "  </g>\n",
       "  <g id=\"axes_1\">\n",
       "   <g id=\"patch_2\">\n",
       "    <path d=\"M 36.936875 226.47023 \n",
       "L 412.776875 226.47023 \n",
       "L 412.776875 9.03023 \n",
       "L 36.936875 9.03023 \n",
       "z\n",
       "\" style=\"fill:#ffffff;\"/>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_1\">\n",
       "    <g id=\"xtick_1\">\n",
       "     <g id=\"text_1\">\n",
       "      <!-- Random allocation -->\n",
       "      <defs>\n",
       "       <path d=\"M 7.859375 0 \n",
       "L 7.859375 71.578125 \n",
       "L 39.59375 71.578125 \n",
       "Q 49.171875 71.578125 54.140625 69.640625 \n",
       "Q 59.125 67.71875 62.109375 62.828125 \n",
       "Q 65.09375 57.953125 65.09375 52.046875 \n",
       "Q 65.09375 44.4375 60.15625 39.203125 \n",
       "Q 55.21875 33.984375 44.921875 32.5625 \n",
       "Q 48.6875 30.765625 50.640625 29 \n",
       "Q 54.78125 25.203125 58.5 19.484375 \n",
       "L 70.953125 0 \n",
       "L 59.03125 0 \n",
       "L 49.5625 14.890625 \n",
       "Q 45.40625 21.34375 42.71875 24.75 \n",
       "Q 40.046875 28.171875 37.921875 29.53125 \n",
       "Q 35.796875 30.90625 33.59375 31.453125 \n",
       "Q 31.984375 31.78125 28.328125 31.78125 \n",
       "L 17.328125 31.78125 \n",
       "L 17.328125 0 \n",
       "z\n",
       "M 17.328125 39.984375 \n",
       "L 37.703125 39.984375 \n",
       "Q 44.1875 39.984375 47.84375 41.328125 \n",
       "Q 51.515625 42.671875 53.421875 45.625 \n",
       "Q 55.328125 48.578125 55.328125 52.046875 \n",
       "Q 55.328125 57.125 51.640625 60.390625 \n",
       "Q 47.953125 63.671875 39.984375 63.671875 \n",
       "L 17.328125 63.671875 \n",
       "z\n",
       "\" id=\"ArialMT-82\"/>\n",
       "       <path d=\"M 40.4375 6.390625 \n",
       "Q 35.546875 2.25 31.03125 0.53125 \n",
       "Q 26.515625 -1.171875 21.34375 -1.171875 \n",
       "Q 12.796875 -1.171875 8.203125 3 \n",
       "Q 3.609375 7.171875 3.609375 13.671875 \n",
       "Q 3.609375 17.484375 5.34375 20.625 \n",
       "Q 7.078125 23.78125 9.890625 25.6875 \n",
       "Q 12.703125 27.59375 16.21875 28.5625 \n",
       "Q 18.796875 29.25 24.03125 29.890625 \n",
       "Q 34.671875 31.15625 39.703125 32.90625 \n",
       "Q 39.75 34.71875 39.75 35.203125 \n",
       "Q 39.75 40.578125 37.25 42.78125 \n",
       "Q 33.890625 45.75 27.25 45.75 \n",
       "Q 21.046875 45.75 18.09375 43.578125 \n",
       "Q 15.140625 41.40625 13.71875 35.890625 \n",
       "L 5.125 37.0625 \n",
       "Q 6.296875 42.578125 8.984375 45.96875 \n",
       "Q 11.671875 49.359375 16.75 51.1875 \n",
       "Q 21.828125 53.03125 28.515625 53.03125 \n",
       "Q 35.15625 53.03125 39.296875 51.46875 \n",
       "Q 43.453125 49.90625 45.40625 47.53125 \n",
       "Q 47.359375 45.171875 48.140625 41.546875 \n",
       "Q 48.578125 39.3125 48.578125 33.453125 \n",
       "L 48.578125 21.734375 \n",
       "Q 48.578125 9.46875 49.140625 6.21875 \n",
       "Q 49.703125 2.984375 51.375 0 \n",
       "L 42.1875 0 \n",
       "Q 40.828125 2.734375 40.4375 6.390625 \n",
       "z\n",
       "M 39.703125 26.03125 \n",
       "Q 34.90625 24.078125 25.34375 22.703125 \n",
       "Q 19.921875 21.921875 17.671875 20.9375 \n",
       "Q 15.4375 19.96875 14.203125 18.09375 \n",
       "Q 12.984375 16.21875 12.984375 13.921875 \n",
       "Q 12.984375 10.40625 15.640625 8.0625 \n",
       "Q 18.3125 5.71875 23.4375 5.71875 \n",
       "Q 28.515625 5.71875 32.46875 7.9375 \n",
       "Q 36.421875 10.15625 38.28125 14.015625 \n",
       "Q 39.703125 17 39.703125 22.796875 \n",
       "z\n",
       "\" id=\"ArialMT-97\"/>\n",
       "       <path d=\"M 6.59375 0 \n",
       "L 6.59375 51.859375 \n",
       "L 14.5 51.859375 \n",
       "L 14.5 44.484375 \n",
       "Q 20.21875 53.03125 31 53.03125 \n",
       "Q 35.6875 53.03125 39.625 51.34375 \n",
       "Q 43.5625 49.65625 45.515625 46.921875 \n",
       "Q 47.46875 44.1875 48.25 40.4375 \n",
       "Q 48.734375 37.984375 48.734375 31.890625 \n",
       "L 48.734375 0 \n",
       "L 39.9375 0 \n",
       "L 39.9375 31.546875 \n",
       "Q 39.9375 36.921875 38.90625 39.578125 \n",
       "Q 37.890625 42.234375 35.28125 43.8125 \n",
       "Q 32.671875 45.40625 29.15625 45.40625 \n",
       "Q 23.53125 45.40625 19.453125 41.84375 \n",
       "Q 15.375 38.28125 15.375 28.328125 \n",
       "L 15.375 0 \n",
       "z\n",
       "\" id=\"ArialMT-110\"/>\n",
       "       <path d=\"M 40.234375 0 \n",
       "L 40.234375 6.546875 \n",
       "Q 35.296875 -1.171875 25.734375 -1.171875 \n",
       "Q 19.53125 -1.171875 14.328125 2.25 \n",
       "Q 9.125 5.671875 6.265625 11.796875 \n",
       "Q 3.421875 17.921875 3.421875 25.875 \n",
       "Q 3.421875 33.640625 6 39.96875 \n",
       "Q 8.59375 46.296875 13.765625 49.65625 \n",
       "Q 18.953125 53.03125 25.34375 53.03125 \n",
       "Q 30.03125 53.03125 33.6875 51.046875 \n",
       "Q 37.359375 49.078125 39.65625 45.90625 \n",
       "L 39.65625 71.578125 \n",
       "L 48.390625 71.578125 \n",
       "L 48.390625 0 \n",
       "z\n",
       "M 12.453125 25.875 \n",
       "Q 12.453125 15.921875 16.640625 10.984375 \n",
       "Q 20.84375 6.0625 26.5625 6.0625 \n",
       "Q 32.328125 6.0625 36.34375 10.765625 \n",
       "Q 40.375 15.484375 40.375 25.140625 \n",
       "Q 40.375 35.796875 36.265625 40.765625 \n",
       "Q 32.171875 45.75 26.171875 45.75 \n",
       "Q 20.3125 45.75 16.375 40.96875 \n",
       "Q 12.453125 36.1875 12.453125 25.875 \n",
       "z\n",
       "\" id=\"ArialMT-100\"/>\n",
       "       <path d=\"M 3.328125 25.921875 \n",
       "Q 3.328125 40.328125 11.328125 47.265625 \n",
       "Q 18.015625 53.03125 27.640625 53.03125 \n",
       "Q 38.328125 53.03125 45.109375 46.015625 \n",
       "Q 51.90625 39.015625 51.90625 26.65625 \n",
       "Q 51.90625 16.65625 48.90625 10.90625 \n",
       "Q 45.90625 5.171875 40.15625 2 \n",
       "Q 34.421875 -1.171875 27.640625 -1.171875 \n",
       "Q 16.75 -1.171875 10.03125 5.8125 \n",
       "Q 3.328125 12.796875 3.328125 25.921875 \n",
       "z\n",
       "M 12.359375 25.921875 \n",
       "Q 12.359375 15.96875 16.703125 11.015625 \n",
       "Q 21.046875 6.0625 27.640625 6.0625 \n",
       "Q 34.1875 6.0625 38.53125 11.03125 \n",
       "Q 42.875 16.015625 42.875 26.21875 \n",
       "Q 42.875 35.84375 38.5 40.796875 \n",
       "Q 34.125 45.75 27.640625 45.75 \n",
       "Q 21.046875 45.75 16.703125 40.8125 \n",
       "Q 12.359375 35.890625 12.359375 25.921875 \n",
       "z\n",
       "\" id=\"ArialMT-111\"/>\n",
       "       <path d=\"M 6.59375 0 \n",
       "L 6.59375 51.859375 \n",
       "L 14.453125 51.859375 \n",
       "L 14.453125 44.578125 \n",
       "Q 16.890625 48.390625 20.9375 50.703125 \n",
       "Q 25 53.03125 30.171875 53.03125 \n",
       "Q 35.9375 53.03125 39.625 50.640625 \n",
       "Q 43.3125 48.25 44.828125 43.953125 \n",
       "Q 50.984375 53.03125 60.84375 53.03125 \n",
       "Q 68.5625 53.03125 72.703125 48.75 \n",
       "Q 76.859375 44.484375 76.859375 35.59375 \n",
       "L 76.859375 0 \n",
       "L 68.109375 0 \n",
       "L 68.109375 32.671875 \n",
       "Q 68.109375 37.9375 67.25 40.25 \n",
       "Q 66.40625 42.578125 64.15625 43.984375 \n",
       "Q 61.921875 45.40625 58.890625 45.40625 \n",
       "Q 53.421875 45.40625 49.796875 41.765625 \n",
       "Q 46.1875 38.140625 46.1875 30.125 \n",
       "L 46.1875 0 \n",
       "L 37.40625 0 \n",
       "L 37.40625 33.6875 \n",
       "Q 37.40625 39.546875 35.25 42.46875 \n",
       "Q 33.109375 45.40625 28.21875 45.40625 \n",
       "Q 24.515625 45.40625 21.359375 43.453125 \n",
       "Q 18.21875 41.5 16.796875 37.734375 \n",
       "Q 15.375 33.984375 15.375 26.90625 \n",
       "L 15.375 0 \n",
       "z\n",
       "\" id=\"ArialMT-109\"/>\n",
       "       <path id=\"ArialMT-32\"/>\n",
       "       <path d=\"M 6.390625 0 \n",
       "L 6.390625 71.578125 \n",
       "L 15.1875 71.578125 \n",
       "L 15.1875 0 \n",
       "z\n",
       "\" id=\"ArialMT-108\"/>\n",
       "       <path d=\"M 40.4375 19 \n",
       "L 49.078125 17.875 \n",
       "Q 47.65625 8.9375 41.8125 3.875 \n",
       "Q 35.984375 -1.171875 27.484375 -1.171875 \n",
       "Q 16.84375 -1.171875 10.375 5.78125 \n",
       "Q 3.90625 12.75 3.90625 25.734375 \n",
       "Q 3.90625 34.125 6.6875 40.421875 \n",
       "Q 9.46875 46.734375 15.15625 49.875 \n",
       "Q 20.84375 53.03125 27.546875 53.03125 \n",
       "Q 35.984375 53.03125 41.359375 48.75 \n",
       "Q 46.734375 44.484375 48.25 36.625 \n",
       "L 39.703125 35.296875 \n",
       "Q 38.484375 40.53125 35.375 43.15625 \n",
       "Q 32.28125 45.796875 27.875 45.796875 \n",
       "Q 21.234375 45.796875 17.078125 41.03125 \n",
       "Q 12.9375 36.28125 12.9375 25.984375 \n",
       "Q 12.9375 15.53125 16.9375 10.796875 \n",
       "Q 20.953125 6.0625 27.390625 6.0625 \n",
       "Q 32.5625 6.0625 36.03125 9.234375 \n",
       "Q 39.5 12.40625 40.4375 19 \n",
       "z\n",
       "\" id=\"ArialMT-99\"/>\n",
       "       <path d=\"M 25.78125 7.859375 \n",
       "L 27.046875 0.09375 \n",
       "Q 23.34375 -0.6875 20.40625 -0.6875 \n",
       "Q 15.625 -0.6875 12.984375 0.828125 \n",
       "Q 10.359375 2.34375 9.28125 4.8125 \n",
       "Q 8.203125 7.28125 8.203125 15.1875 \n",
       "L 8.203125 45.015625 \n",
       "L 1.765625 45.015625 \n",
       "L 1.765625 51.859375 \n",
       "L 8.203125 51.859375 \n",
       "L 8.203125 64.703125 \n",
       "L 16.9375 69.96875 \n",
       "L 16.9375 51.859375 \n",
       "L 25.78125 51.859375 \n",
       "L 25.78125 45.015625 \n",
       "L 16.9375 45.015625 \n",
       "L 16.9375 14.703125 \n",
       "Q 16.9375 10.9375 17.40625 9.859375 \n",
       "Q 17.875 8.796875 18.921875 8.15625 \n",
       "Q 19.96875 7.515625 21.921875 7.515625 \n",
       "Q 23.390625 7.515625 25.78125 7.859375 \n",
       "z\n",
       "\" id=\"ArialMT-116\"/>\n",
       "       <path d=\"M 6.640625 61.46875 \n",
       "L 6.640625 71.578125 \n",
       "L 15.4375 71.578125 \n",
       "L 15.4375 61.46875 \n",
       "z\n",
       "M 6.640625 0 \n",
       "L 6.640625 51.859375 \n",
       "L 15.4375 51.859375 \n",
       "L 15.4375 0 \n",
       "z\n",
       "\" id=\"ArialMT-105\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(75.376928 293.595477)rotate(-45)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-82\"/>\n",
       "       <use x=\"72.216797\" xlink:href=\"#ArialMT-97\"/>\n",
       "       <use x=\"127.832031\" xlink:href=\"#ArialMT-110\"/>\n",
       "       <use x=\"183.447266\" xlink:href=\"#ArialMT-100\"/>\n",
       "       <use x=\"239.0625\" xlink:href=\"#ArialMT-111\"/>\n",
       "       <use x=\"294.677734\" xlink:href=\"#ArialMT-109\"/>\n",
       "       <use x=\"377.978516\" xlink:href=\"#ArialMT-32\"/>\n",
       "       <use x=\"405.761719\" xlink:href=\"#ArialMT-97\"/>\n",
       "       <use x=\"461.376953\" xlink:href=\"#ArialMT-108\"/>\n",
       "       <use x=\"483.59375\" xlink:href=\"#ArialMT-108\"/>\n",
       "       <use x=\"505.810547\" xlink:href=\"#ArialMT-111\"/>\n",
       "       <use x=\"561.425781\" xlink:href=\"#ArialMT-99\"/>\n",
       "       <use x=\"611.425781\" xlink:href=\"#ArialMT-97\"/>\n",
       "       <use x=\"667.041016\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"694.824219\" xlink:href=\"#ArialMT-105\"/>\n",
       "       <use x=\"717.041016\" xlink:href=\"#ArialMT-111\"/>\n",
       "       <use x=\"772.65625\" xlink:href=\"#ArialMT-110\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_2\">\n",
       "     <g id=\"text_2\">\n",
       "      <!-- Best treatment assignment -->\n",
       "      <defs>\n",
       "       <path d=\"M 7.328125 0 \n",
       "L 7.328125 71.578125 \n",
       "L 34.1875 71.578125 \n",
       "Q 42.390625 71.578125 47.34375 69.40625 \n",
       "Q 52.296875 67.234375 55.09375 62.71875 \n",
       "Q 57.90625 58.203125 57.90625 53.265625 \n",
       "Q 57.90625 48.6875 55.421875 44.625 \n",
       "Q 52.9375 40.578125 47.90625 38.09375 \n",
       "Q 54.390625 36.1875 57.875 31.59375 \n",
       "Q 61.375 27 61.375 20.75 \n",
       "Q 61.375 15.71875 59.25 11.390625 \n",
       "Q 57.125 7.078125 54 4.734375 \n",
       "Q 50.875 2.390625 46.15625 1.1875 \n",
       "Q 41.453125 0 34.625 0 \n",
       "z\n",
       "M 16.796875 41.5 \n",
       "L 32.28125 41.5 \n",
       "Q 38.578125 41.5 41.3125 42.328125 \n",
       "Q 44.921875 43.40625 46.75 45.890625 \n",
       "Q 48.578125 48.390625 48.578125 52.15625 \n",
       "Q 48.578125 55.71875 46.875 58.421875 \n",
       "Q 45.171875 61.140625 41.984375 62.140625 \n",
       "Q 38.8125 63.140625 31.109375 63.140625 \n",
       "L 16.796875 63.140625 \n",
       "z\n",
       "M 16.796875 8.453125 \n",
       "L 34.625 8.453125 \n",
       "Q 39.203125 8.453125 41.0625 8.796875 \n",
       "Q 44.34375 9.375 46.53125 10.734375 \n",
       "Q 48.734375 12.109375 50.140625 14.71875 \n",
       "Q 51.5625 17.328125 51.5625 20.75 \n",
       "Q 51.5625 24.75 49.515625 27.703125 \n",
       "Q 47.46875 30.671875 43.828125 31.859375 \n",
       "Q 40.1875 33.0625 33.34375 33.0625 \n",
       "L 16.796875 33.0625 \n",
       "z\n",
       "\" id=\"ArialMT-66\"/>\n",
       "       <path d=\"M 42.09375 16.703125 \n",
       "L 51.171875 15.578125 \n",
       "Q 49.03125 7.625 43.21875 3.21875 \n",
       "Q 37.40625 -1.171875 28.375 -1.171875 \n",
       "Q 17 -1.171875 10.328125 5.828125 \n",
       "Q 3.65625 12.84375 3.65625 25.484375 \n",
       "Q 3.65625 38.578125 10.390625 45.796875 \n",
       "Q 17.140625 53.03125 27.875 53.03125 \n",
       "Q 38.28125 53.03125 44.875 45.953125 \n",
       "Q 51.46875 38.875 51.46875 26.03125 \n",
       "Q 51.46875 25.25 51.421875 23.6875 \n",
       "L 12.75 23.6875 \n",
       "Q 13.234375 15.140625 17.578125 10.59375 \n",
       "Q 21.921875 6.0625 28.421875 6.0625 \n",
       "Q 33.25 6.0625 36.671875 8.59375 \n",
       "Q 40.09375 11.140625 42.09375 16.703125 \n",
       "z\n",
       "M 13.234375 30.90625 \n",
       "L 42.1875 30.90625 \n",
       "Q 41.609375 37.453125 38.875 40.71875 \n",
       "Q 34.671875 45.796875 27.984375 45.796875 \n",
       "Q 21.921875 45.796875 17.796875 41.75 \n",
       "Q 13.671875 37.703125 13.234375 30.90625 \n",
       "z\n",
       "\" id=\"ArialMT-101\"/>\n",
       "       <path d=\"M 3.078125 15.484375 \n",
       "L 11.765625 16.84375 \n",
       "Q 12.5 11.625 15.84375 8.84375 \n",
       "Q 19.1875 6.0625 25.203125 6.0625 \n",
       "Q 31.25 6.0625 34.171875 8.515625 \n",
       "Q 37.109375 10.984375 37.109375 14.3125 \n",
       "Q 37.109375 17.28125 34.515625 19 \n",
       "Q 32.71875 20.171875 25.53125 21.96875 \n",
       "Q 15.875 24.421875 12.140625 26.203125 \n",
       "Q 8.40625 27.984375 6.46875 31.125 \n",
       "Q 4.546875 34.28125 4.546875 38.09375 \n",
       "Q 4.546875 41.546875 6.125 44.5 \n",
       "Q 7.71875 47.46875 10.453125 49.421875 \n",
       "Q 12.5 50.921875 16.03125 51.96875 \n",
       "Q 19.578125 53.03125 23.640625 53.03125 \n",
       "Q 29.734375 53.03125 34.34375 51.265625 \n",
       "Q 38.96875 49.515625 41.15625 46.5 \n",
       "Q 43.359375 43.5 44.1875 38.484375 \n",
       "L 35.59375 37.3125 \n",
       "Q 35.015625 41.3125 32.203125 43.546875 \n",
       "Q 29.390625 45.796875 24.265625 45.796875 \n",
       "Q 18.21875 45.796875 15.625 43.796875 \n",
       "Q 13.03125 41.796875 13.03125 39.109375 \n",
       "Q 13.03125 37.40625 14.109375 36.03125 \n",
       "Q 15.1875 34.625 17.484375 33.6875 \n",
       "Q 18.796875 33.203125 25.25 31.453125 \n",
       "Q 34.578125 28.953125 38.25 27.359375 \n",
       "Q 41.9375 25.78125 44.03125 22.75 \n",
       "Q 46.140625 19.734375 46.140625 15.234375 \n",
       "Q 46.140625 10.84375 43.578125 6.953125 \n",
       "Q 41.015625 3.078125 36.171875 0.953125 \n",
       "Q 31.34375 -1.171875 25.25 -1.171875 \n",
       "Q 15.140625 -1.171875 9.84375 3.03125 \n",
       "Q 4.546875 7.234375 3.078125 15.484375 \n",
       "z\n",
       "\" id=\"ArialMT-115\"/>\n",
       "       <path d=\"M 6.5 0 \n",
       "L 6.5 51.859375 \n",
       "L 14.40625 51.859375 \n",
       "L 14.40625 44 \n",
       "Q 17.4375 49.515625 20 51.265625 \n",
       "Q 22.5625 53.03125 25.640625 53.03125 \n",
       "Q 30.078125 53.03125 34.671875 50.203125 \n",
       "L 31.640625 42.046875 \n",
       "Q 28.421875 43.953125 25.203125 43.953125 \n",
       "Q 22.3125 43.953125 20.015625 42.21875 \n",
       "Q 17.71875 40.484375 16.75 37.40625 \n",
       "Q 15.28125 32.71875 15.28125 27.15625 \n",
       "L 15.28125 0 \n",
       "z\n",
       "\" id=\"ArialMT-114\"/>\n",
       "       <path d=\"M 4.984375 -4.296875 \n",
       "L 13.53125 -5.5625 \n",
       "Q 14.0625 -9.515625 16.5 -11.328125 \n",
       "Q 19.78125 -13.765625 25.4375 -13.765625 \n",
       "Q 31.546875 -13.765625 34.859375 -11.328125 \n",
       "Q 38.1875 -8.890625 39.359375 -4.5 \n",
       "Q 40.046875 -1.8125 39.984375 6.78125 \n",
       "Q 34.234375 0 25.640625 0 \n",
       "Q 14.9375 0 9.078125 7.71875 \n",
       "Q 3.21875 15.4375 3.21875 26.21875 \n",
       "Q 3.21875 33.640625 5.90625 39.90625 \n",
       "Q 8.59375 46.1875 13.6875 49.609375 \n",
       "Q 18.796875 53.03125 25.6875 53.03125 \n",
       "Q 34.859375 53.03125 40.828125 45.609375 \n",
       "L 40.828125 51.859375 \n",
       "L 48.921875 51.859375 \n",
       "L 48.921875 7.03125 \n",
       "Q 48.921875 -5.078125 46.453125 -10.125 \n",
       "Q 44 -15.1875 38.640625 -18.109375 \n",
       "Q 33.296875 -21.046875 25.484375 -21.046875 \n",
       "Q 16.21875 -21.046875 10.5 -16.875 \n",
       "Q 4.78125 -12.703125 4.984375 -4.296875 \n",
       "z\n",
       "M 12.25 26.859375 \n",
       "Q 12.25 16.65625 16.296875 11.96875 \n",
       "Q 20.359375 7.28125 26.46875 7.28125 \n",
       "Q 32.515625 7.28125 36.609375 11.9375 \n",
       "Q 40.71875 16.609375 40.71875 26.5625 \n",
       "Q 40.71875 36.078125 36.5 40.90625 \n",
       "Q 32.28125 45.75 26.3125 45.75 \n",
       "Q 20.453125 45.75 16.34375 40.984375 \n",
       "Q 12.25 36.234375 12.25 26.859375 \n",
       "z\n",
       "\" id=\"ArialMT-103\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(184.592668 319.13308)rotate(-45)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-66\"/>\n",
       "       <use x=\"66.699219\" xlink:href=\"#ArialMT-101\"/>\n",
       "       <use x=\"122.314453\" xlink:href=\"#ArialMT-115\"/>\n",
       "       <use x=\"172.314453\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"200.097656\" xlink:href=\"#ArialMT-32\"/>\n",
       "       <use x=\"227.880859\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"255.664062\" xlink:href=\"#ArialMT-114\"/>\n",
       "       <use x=\"288.964844\" xlink:href=\"#ArialMT-101\"/>\n",
       "       <use x=\"344.580078\" xlink:href=\"#ArialMT-97\"/>\n",
       "       <use x=\"400.195312\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"427.978516\" xlink:href=\"#ArialMT-109\"/>\n",
       "       <use x=\"511.279297\" xlink:href=\"#ArialMT-101\"/>\n",
       "       <use x=\"566.894531\" xlink:href=\"#ArialMT-110\"/>\n",
       "       <use x=\"622.509766\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"650.292969\" xlink:href=\"#ArialMT-32\"/>\n",
       "       <use x=\"678.076172\" xlink:href=\"#ArialMT-97\"/>\n",
       "       <use x=\"733.691406\" xlink:href=\"#ArialMT-115\"/>\n",
       "       <use x=\"783.691406\" xlink:href=\"#ArialMT-115\"/>\n",
       "       <use x=\"833.691406\" xlink:href=\"#ArialMT-105\"/>\n",
       "       <use x=\"855.908203\" xlink:href=\"#ArialMT-103\"/>\n",
       "       <use x=\"911.523438\" xlink:href=\"#ArialMT-110\"/>\n",
       "       <use x=\"967.138672\" xlink:href=\"#ArialMT-109\"/>\n",
       "       <use x=\"1050.439453\" xlink:href=\"#ArialMT-101\"/>\n",
       "       <use x=\"1106.054688\" xlink:href=\"#ArialMT-110\"/>\n",
       "       <use x=\"1161.669922\" xlink:href=\"#ArialMT-116\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_3\">\n",
       "     <g id=\"text_3\">\n",
       "      <!-- CounterfactualUnitSelector -->\n",
       "      <defs>\n",
       "       <path d=\"M 58.796875 25.09375 \n",
       "L 68.265625 22.703125 \n",
       "Q 65.28125 11.03125 57.546875 4.90625 \n",
       "Q 49.8125 -1.21875 38.625 -1.21875 \n",
       "Q 27.046875 -1.21875 19.796875 3.484375 \n",
       "Q 12.546875 8.203125 8.765625 17.140625 \n",
       "Q 4.984375 26.078125 4.984375 36.328125 \n",
       "Q 4.984375 47.515625 9.25 55.828125 \n",
       "Q 13.53125 64.15625 21.40625 68.46875 \n",
       "Q 29.296875 72.796875 38.765625 72.796875 \n",
       "Q 49.515625 72.796875 56.828125 67.328125 \n",
       "Q 64.15625 61.859375 67.046875 51.953125 \n",
       "L 57.71875 49.75 \n",
       "Q 55.21875 57.5625 50.484375 61.125 \n",
       "Q 45.75 64.703125 38.578125 64.703125 \n",
       "Q 30.328125 64.703125 24.78125 60.734375 \n",
       "Q 19.234375 56.78125 16.984375 50.109375 \n",
       "Q 14.75 43.453125 14.75 36.375 \n",
       "Q 14.75 27.25 17.40625 20.4375 \n",
       "Q 20.0625 13.625 25.671875 10.25 \n",
       "Q 31.296875 6.890625 37.84375 6.890625 \n",
       "Q 45.796875 6.890625 51.3125 11.46875 \n",
       "Q 56.84375 16.0625 58.796875 25.09375 \n",
       "z\n",
       "\" id=\"ArialMT-67\"/>\n",
       "       <path d=\"M 40.578125 0 \n",
       "L 40.578125 7.625 \n",
       "Q 34.515625 -1.171875 24.125 -1.171875 \n",
       "Q 19.53125 -1.171875 15.546875 0.578125 \n",
       "Q 11.578125 2.34375 9.640625 5 \n",
       "Q 7.71875 7.671875 6.9375 11.53125 \n",
       "Q 6.390625 14.109375 6.390625 19.734375 \n",
       "L 6.390625 51.859375 \n",
       "L 15.1875 51.859375 \n",
       "L 15.1875 23.09375 \n",
       "Q 15.1875 16.21875 15.71875 13.8125 \n",
       "Q 16.546875 10.359375 19.234375 8.375 \n",
       "Q 21.921875 6.390625 25.875 6.390625 \n",
       "Q 29.828125 6.390625 33.296875 8.421875 \n",
       "Q 36.765625 10.453125 38.203125 13.9375 \n",
       "Q 39.65625 17.4375 39.65625 24.078125 \n",
       "L 39.65625 51.859375 \n",
       "L 48.4375 51.859375 \n",
       "L 48.4375 0 \n",
       "z\n",
       "\" id=\"ArialMT-117\"/>\n",
       "       <path d=\"M 8.6875 0 \n",
       "L 8.6875 45.015625 \n",
       "L 0.921875 45.015625 \n",
       "L 0.921875 51.859375 \n",
       "L 8.6875 51.859375 \n",
       "L 8.6875 57.375 \n",
       "Q 8.6875 62.59375 9.625 65.140625 \n",
       "Q 10.890625 68.5625 14.078125 70.671875 \n",
       "Q 17.28125 72.796875 23.046875 72.796875 \n",
       "Q 26.765625 72.796875 31.25 71.921875 \n",
       "L 29.9375 64.265625 \n",
       "Q 27.203125 64.75 24.75 64.75 \n",
       "Q 20.75 64.75 19.09375 63.03125 \n",
       "Q 17.4375 61.328125 17.4375 56.640625 \n",
       "L 17.4375 51.859375 \n",
       "L 27.546875 51.859375 \n",
       "L 27.546875 45.015625 \n",
       "L 17.4375 45.015625 \n",
       "L 17.4375 0 \n",
       "z\n",
       "\" id=\"ArialMT-102\"/>\n",
       "       <path d=\"M 54.6875 71.578125 \n",
       "L 64.15625 71.578125 \n",
       "L 64.15625 30.21875 \n",
       "Q 64.15625 19.4375 61.71875 13.078125 \n",
       "Q 59.28125 6.734375 52.90625 2.75 \n",
       "Q 46.53125 -1.21875 36.1875 -1.21875 \n",
       "Q 26.125 -1.21875 19.71875 2.25 \n",
       "Q 13.328125 5.71875 10.59375 12.28125 \n",
       "Q 7.859375 18.84375 7.859375 30.21875 \n",
       "L 7.859375 71.578125 \n",
       "L 17.328125 71.578125 \n",
       "L 17.328125 30.28125 \n",
       "Q 17.328125 20.953125 19.0625 16.53125 \n",
       "Q 20.796875 12.109375 25.015625 9.71875 \n",
       "Q 29.25 7.328125 35.359375 7.328125 \n",
       "Q 45.796875 7.328125 50.234375 12.0625 \n",
       "Q 54.6875 16.796875 54.6875 30.28125 \n",
       "z\n",
       "\" id=\"ArialMT-85\"/>\n",
       "       <path d=\"M 4.5 23 \n",
       "L 13.421875 23.78125 \n",
       "Q 14.0625 18.40625 16.375 14.96875 \n",
       "Q 18.703125 11.53125 23.578125 9.40625 \n",
       "Q 28.46875 7.28125 34.578125 7.28125 \n",
       "Q 39.984375 7.28125 44.140625 8.890625 \n",
       "Q 48.296875 10.5 50.3125 13.296875 \n",
       "Q 52.34375 16.109375 52.34375 19.4375 \n",
       "Q 52.34375 22.796875 50.390625 25.3125 \n",
       "Q 48.4375 27.828125 43.953125 29.546875 \n",
       "Q 41.0625 30.671875 31.203125 33.03125 \n",
       "Q 21.34375 35.40625 17.390625 37.5 \n",
       "Q 12.25 40.1875 9.734375 44.15625 \n",
       "Q 7.234375 48.140625 7.234375 53.078125 \n",
       "Q 7.234375 58.5 10.296875 63.203125 \n",
       "Q 13.375 67.921875 19.28125 70.359375 \n",
       "Q 25.203125 72.796875 32.421875 72.796875 \n",
       "Q 40.375 72.796875 46.453125 70.234375 \n",
       "Q 52.546875 67.671875 55.8125 62.6875 \n",
       "Q 59.078125 57.71875 59.328125 51.421875 \n",
       "L 50.25 50.734375 \n",
       "Q 49.515625 57.515625 45.28125 60.984375 \n",
       "Q 41.0625 64.453125 32.8125 64.453125 \n",
       "Q 24.21875 64.453125 20.28125 61.296875 \n",
       "Q 16.359375 58.15625 16.359375 53.71875 \n",
       "Q 16.359375 49.859375 19.140625 47.359375 \n",
       "Q 21.875 44.875 33.421875 42.265625 \n",
       "Q 44.96875 39.65625 49.265625 37.703125 \n",
       "Q 55.515625 34.8125 58.484375 30.390625 \n",
       "Q 61.46875 25.984375 61.46875 20.21875 \n",
       "Q 61.46875 14.5 58.203125 9.4375 \n",
       "Q 54.9375 4.390625 48.796875 1.578125 \n",
       "Q 42.671875 -1.21875 35.015625 -1.21875 \n",
       "Q 25.296875 -1.21875 18.71875 1.609375 \n",
       "Q 12.15625 4.4375 8.421875 10.125 \n",
       "Q 4.6875 15.828125 4.5 23 \n",
       "z\n",
       "\" id=\"ArialMT-83\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(306.4612 319.530828)rotate(-45)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-67\"/>\n",
       "       <use x=\"72.216797\" xlink:href=\"#ArialMT-111\"/>\n",
       "       <use x=\"127.832031\" xlink:href=\"#ArialMT-117\"/>\n",
       "       <use x=\"183.447266\" xlink:href=\"#ArialMT-110\"/>\n",
       "       <use x=\"239.0625\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"266.845703\" xlink:href=\"#ArialMT-101\"/>\n",
       "       <use x=\"322.460938\" xlink:href=\"#ArialMT-114\"/>\n",
       "       <use x=\"355.761719\" xlink:href=\"#ArialMT-102\"/>\n",
       "       <use x=\"383.544922\" xlink:href=\"#ArialMT-97\"/>\n",
       "       <use x=\"439.160156\" xlink:href=\"#ArialMT-99\"/>\n",
       "       <use x=\"489.160156\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"516.943359\" xlink:href=\"#ArialMT-117\"/>\n",
       "       <use x=\"572.558594\" xlink:href=\"#ArialMT-97\"/>\n",
       "       <use x=\"628.173828\" xlink:href=\"#ArialMT-108\"/>\n",
       "       <use x=\"650.390625\" xlink:href=\"#ArialMT-85\"/>\n",
       "       <use x=\"722.607422\" xlink:href=\"#ArialMT-110\"/>\n",
       "       <use x=\"778.222656\" xlink:href=\"#ArialMT-105\"/>\n",
       "       <use x=\"800.439453\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"828.222656\" xlink:href=\"#ArialMT-83\"/>\n",
       "       <use x=\"894.921875\" xlink:href=\"#ArialMT-101\"/>\n",
       "       <use x=\"950.537109\" xlink:href=\"#ArialMT-108\"/>\n",
       "       <use x=\"972.753906\" xlink:href=\"#ArialMT-101\"/>\n",
       "       <use x=\"1028.369141\" xlink:href=\"#ArialMT-99\"/>\n",
       "       <use x=\"1078.369141\" xlink:href=\"#ArialMT-116\"/>\n",
       "       <use x=\"1106.152344\" xlink:href=\"#ArialMT-111\"/>\n",
       "       <use x=\"1161.767578\" xlink:href=\"#ArialMT-114\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_2\">\n",
       "    <g id=\"ytick_1\">\n",
       "     <g id=\"text_4\">\n",
       "      <!-- 0 -->\n",
       "      <defs>\n",
       "       <path d=\"M 4.15625 35.296875 \n",
       "Q 4.15625 48 6.765625 55.734375 \n",
       "Q 9.375 63.484375 14.515625 67.671875 \n",
       "Q 19.671875 71.875 27.484375 71.875 \n",
       "Q 33.25 71.875 37.59375 69.546875 \n",
       "Q 41.9375 67.234375 44.765625 62.859375 \n",
       "Q 47.609375 58.5 49.21875 52.21875 \n",
       "Q 50.828125 45.953125 50.828125 35.296875 \n",
       "Q 50.828125 22.703125 48.234375 14.96875 \n",
       "Q 45.65625 7.234375 40.5 3 \n",
       "Q 35.359375 -1.21875 27.484375 -1.21875 \n",
       "Q 17.140625 -1.21875 11.234375 6.203125 \n",
       "Q 4.15625 15.140625 4.15625 35.296875 \n",
       "z\n",
       "M 13.1875 35.296875 \n",
       "Q 13.1875 17.671875 17.3125 11.828125 \n",
       "Q 21.4375 6 27.484375 6 \n",
       "Q 33.546875 6 37.671875 11.859375 \n",
       "Q 41.796875 17.71875 41.796875 35.296875 \n",
       "Q 41.796875 52.984375 37.671875 58.78125 \n",
       "Q 33.546875 64.59375 27.390625 64.59375 \n",
       "Q 21.34375 64.59375 17.71875 59.46875 \n",
       "Q 13.1875 52.9375 13.1875 35.296875 \n",
       "z\n",
       "\" id=\"ArialMT-48\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(27.875938 230.049136)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-48\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_2\">\n",
       "     <g id=\"text_5\">\n",
       "      <!-- 2 -->\n",
       "      <defs>\n",
       "       <path d=\"M 50.34375 8.453125 \n",
       "L 50.34375 0 \n",
       "L 3.03125 0 \n",
       "Q 2.9375 3.171875 4.046875 6.109375 \n",
       "Q 5.859375 10.9375 9.828125 15.625 \n",
       "Q 13.8125 20.3125 21.34375 26.46875 \n",
       "Q 33.015625 36.03125 37.109375 41.625 \n",
       "Q 41.21875 47.21875 41.21875 52.203125 \n",
       "Q 41.21875 57.421875 37.46875 61 \n",
       "Q 33.734375 64.59375 27.734375 64.59375 \n",
       "Q 21.390625 64.59375 17.578125 60.78125 \n",
       "Q 13.765625 56.984375 13.71875 50.25 \n",
       "L 4.6875 51.171875 \n",
       "Q 5.609375 61.28125 11.65625 66.578125 \n",
       "Q 17.71875 71.875 27.9375 71.875 \n",
       "Q 38.234375 71.875 44.234375 66.15625 \n",
       "Q 50.25 60.453125 50.25 52 \n",
       "Q 50.25 47.703125 48.484375 43.546875 \n",
       "Q 46.734375 39.40625 42.65625 34.8125 \n",
       "Q 38.578125 30.21875 29.109375 22.21875 \n",
       "Q 21.1875 15.578125 18.9375 13.203125 \n",
       "Q 16.703125 10.84375 15.234375 8.453125 \n",
       "z\n",
       "\" id=\"ArialMT-50\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(27.875938 186.910871)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-50\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_3\">\n",
       "     <g id=\"text_6\">\n",
       "      <!-- 4 -->\n",
       "      <defs>\n",
       "       <path d=\"M 32.328125 0 \n",
       "L 32.328125 17.140625 \n",
       "L 1.265625 17.140625 \n",
       "L 1.265625 25.203125 \n",
       "L 33.9375 71.578125 \n",
       "L 41.109375 71.578125 \n",
       "L 41.109375 25.203125 \n",
       "L 50.78125 25.203125 \n",
       "L 50.78125 17.140625 \n",
       "L 41.109375 17.140625 \n",
       "L 41.109375 0 \n",
       "z\n",
       "M 32.328125 25.203125 \n",
       "L 32.328125 57.46875 \n",
       "L 9.90625 25.203125 \n",
       "z\n",
       "\" id=\"ArialMT-52\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(27.875938 143.772606)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-52\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_4\">\n",
       "     <g id=\"text_7\">\n",
       "      <!-- 6 -->\n",
       "      <defs>\n",
       "       <path d=\"M 49.75 54.046875 \n",
       "L 41.015625 53.375 \n",
       "Q 39.84375 58.546875 37.703125 60.890625 \n",
       "Q 34.125 64.65625 28.90625 64.65625 \n",
       "Q 24.703125 64.65625 21.53125 62.3125 \n",
       "Q 17.390625 59.28125 14.984375 53.46875 \n",
       "Q 12.59375 47.65625 12.5 36.921875 \n",
       "Q 15.671875 41.75 20.265625 44.09375 \n",
       "Q 24.859375 46.4375 29.890625 46.4375 \n",
       "Q 38.671875 46.4375 44.84375 39.96875 \n",
       "Q 51.03125 33.5 51.03125 23.25 \n",
       "Q 51.03125 16.5 48.125 10.71875 \n",
       "Q 45.21875 4.9375 40.140625 1.859375 \n",
       "Q 35.0625 -1.21875 28.609375 -1.21875 \n",
       "Q 17.625 -1.21875 10.6875 6.859375 \n",
       "Q 3.765625 14.9375 3.765625 33.5 \n",
       "Q 3.765625 54.25 11.421875 63.671875 \n",
       "Q 18.109375 71.875 29.4375 71.875 \n",
       "Q 37.890625 71.875 43.28125 67.140625 \n",
       "Q 48.6875 62.40625 49.75 54.046875 \n",
       "z\n",
       "M 13.875 23.1875 \n",
       "Q 13.875 18.65625 15.796875 14.5 \n",
       "Q 17.71875 10.359375 21.1875 8.171875 \n",
       "Q 24.65625 6 28.46875 6 \n",
       "Q 34.03125 6 38.03125 10.484375 \n",
       "Q 42.046875 14.984375 42.046875 22.703125 \n",
       "Q 42.046875 30.125 38.078125 34.390625 \n",
       "Q 34.125 38.671875 28.125 38.671875 \n",
       "Q 22.171875 38.671875 18.015625 34.390625 \n",
       "Q 13.875 30.125 13.875 23.1875 \n",
       "z\n",
       "\" id=\"ArialMT-54\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(27.875938 100.634342)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-54\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_5\">\n",
       "     <g id=\"text_8\">\n",
       "      <!-- 8 -->\n",
       "      <defs>\n",
       "       <path d=\"M 17.671875 38.8125 \n",
       "Q 12.203125 40.828125 9.5625 44.53125 \n",
       "Q 6.9375 48.25 6.9375 53.421875 \n",
       "Q 6.9375 61.234375 12.546875 66.546875 \n",
       "Q 18.171875 71.875 27.484375 71.875 \n",
       "Q 36.859375 71.875 42.578125 66.421875 \n",
       "Q 48.296875 60.984375 48.296875 53.171875 \n",
       "Q 48.296875 48.1875 45.671875 44.5 \n",
       "Q 43.0625 40.828125 37.75 38.8125 \n",
       "Q 44.34375 36.671875 47.78125 31.875 \n",
       "Q 51.21875 27.09375 51.21875 20.453125 \n",
       "Q 51.21875 11.28125 44.71875 5.03125 \n",
       "Q 38.234375 -1.21875 27.640625 -1.21875 \n",
       "Q 17.046875 -1.21875 10.546875 5.046875 \n",
       "Q 4.046875 11.328125 4.046875 20.703125 \n",
       "Q 4.046875 27.6875 7.59375 32.390625 \n",
       "Q 11.140625 37.109375 17.671875 38.8125 \n",
       "z\n",
       "M 15.921875 53.71875 \n",
       "Q 15.921875 48.640625 19.1875 45.40625 \n",
       "Q 22.46875 42.1875 27.6875 42.1875 \n",
       "Q 32.765625 42.1875 36.015625 45.375 \n",
       "Q 39.265625 48.578125 39.265625 53.21875 \n",
       "Q 39.265625 58.0625 35.90625 61.359375 \n",
       "Q 32.5625 64.65625 27.59375 64.65625 \n",
       "Q 22.5625 64.65625 19.234375 61.421875 \n",
       "Q 15.921875 58.203125 15.921875 53.71875 \n",
       "z\n",
       "M 13.09375 20.65625 \n",
       "Q 13.09375 16.890625 14.875 13.375 \n",
       "Q 16.65625 9.859375 20.171875 7.921875 \n",
       "Q 23.6875 6 27.734375 6 \n",
       "Q 34.03125 6 38.125 10.046875 \n",
       "Q 42.234375 14.109375 42.234375 20.359375 \n",
       "Q 42.234375 26.703125 38.015625 30.859375 \n",
       "Q 33.796875 35.015625 27.4375 35.015625 \n",
       "Q 21.234375 35.015625 17.15625 30.90625 \n",
       "Q 13.09375 26.8125 13.09375 20.65625 \n",
       "z\n",
       "\" id=\"ArialMT-56\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(27.875938 57.496077)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-56\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_6\">\n",
       "     <g id=\"text_9\">\n",
       "      <!-- 10 -->\n",
       "      <defs>\n",
       "       <path d=\"M 37.25 0 \n",
       "L 28.46875 0 \n",
       "L 28.46875 56 \n",
       "Q 25.296875 52.984375 20.140625 49.953125 \n",
       "Q 14.984375 46.921875 10.890625 45.40625 \n",
       "L 10.890625 53.90625 \n",
       "Q 18.265625 57.375 23.78125 62.296875 \n",
       "Q 29.296875 67.234375 31.59375 71.875 \n",
       "L 37.25 71.875 \n",
       "z\n",
       "\" id=\"ArialMT-49\"/>\n",
       "      </defs>\n",
       "      <g style=\"fill:#262626;\" transform=\"translate(22.315 14.357812)scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#ArialMT-49\"/>\n",
       "       <use x=\"55.615234\" xlink:href=\"#ArialMT-48\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"text_10\">\n",
       "     <!-- Mean actual value in testing set -->\n",
       "     <defs>\n",
       "      <path d=\"M 7.421875 0 \n",
       "L 7.421875 71.578125 \n",
       "L 21.6875 71.578125 \n",
       "L 38.625 20.90625 \n",
       "Q 40.96875 13.8125 42.046875 10.296875 \n",
       "Q 43.265625 14.203125 45.84375 21.78125 \n",
       "L 62.984375 71.578125 \n",
       "L 75.734375 71.578125 \n",
       "L 75.734375 0 \n",
       "L 66.609375 0 \n",
       "L 66.609375 59.90625 \n",
       "L 45.796875 0 \n",
       "L 37.25 0 \n",
       "L 16.546875 60.9375 \n",
       "L 16.546875 0 \n",
       "z\n",
       "\" id=\"ArialMT-77\"/>\n",
       "      <path d=\"M 21 0 \n",
       "L 1.265625 51.859375 \n",
       "L 10.546875 51.859375 \n",
       "L 21.6875 20.796875 \n",
       "Q 23.484375 15.765625 25 10.359375 \n",
       "Q 26.171875 14.453125 28.265625 20.21875 \n",
       "L 39.796875 51.859375 \n",
       "L 48.828125 51.859375 \n",
       "L 29.203125 0 \n",
       "z\n",
       "\" id=\"ArialMT-118\"/>\n",
       "     </defs>\n",
       "     <g style=\"fill:#262626;\" transform=\"translate(15.789375 201.794292)rotate(-90)scale(0.12 -0.12)\">\n",
       "      <use xlink:href=\"#ArialMT-77\"/>\n",
       "      <use x=\"83.300781\" xlink:href=\"#ArialMT-101\"/>\n",
       "      <use x=\"138.916016\" xlink:href=\"#ArialMT-97\"/>\n",
       "      <use x=\"194.53125\" xlink:href=\"#ArialMT-110\"/>\n",
       "      <use x=\"250.146484\" xlink:href=\"#ArialMT-32\"/>\n",
       "      <use x=\"277.929688\" xlink:href=\"#ArialMT-97\"/>\n",
       "      <use x=\"333.544922\" xlink:href=\"#ArialMT-99\"/>\n",
       "      <use x=\"383.544922\" xlink:href=\"#ArialMT-116\"/>\n",
       "      <use x=\"411.328125\" xlink:href=\"#ArialMT-117\"/>\n",
       "      <use x=\"466.943359\" xlink:href=\"#ArialMT-97\"/>\n",
       "      <use x=\"522.558594\" xlink:href=\"#ArialMT-108\"/>\n",
       "      <use x=\"544.775391\" xlink:href=\"#ArialMT-32\"/>\n",
       "      <use x=\"572.558594\" xlink:href=\"#ArialMT-118\"/>\n",
       "      <use x=\"622.558594\" xlink:href=\"#ArialMT-97\"/>\n",
       "      <use x=\"678.173828\" xlink:href=\"#ArialMT-108\"/>\n",
       "      <use x=\"700.390625\" xlink:href=\"#ArialMT-117\"/>\n",
       "      <use x=\"756.005859\" xlink:href=\"#ArialMT-101\"/>\n",
       "      <use x=\"811.621094\" xlink:href=\"#ArialMT-32\"/>\n",
       "      <use x=\"839.404297\" xlink:href=\"#ArialMT-105\"/>\n",
       "      <use x=\"861.621094\" xlink:href=\"#ArialMT-110\"/>\n",
       "      <use x=\"917.236328\" xlink:href=\"#ArialMT-32\"/>\n",
       "      <use x=\"945.019531\" xlink:href=\"#ArialMT-116\"/>\n",
       "      <use x=\"972.802734\" xlink:href=\"#ArialMT-101\"/>\n",
       "      <use x=\"1028.417969\" xlink:href=\"#ArialMT-115\"/>\n",
       "      <use x=\"1078.417969\" xlink:href=\"#ArialMT-116\"/>\n",
       "      <use x=\"1106.201172\" xlink:href=\"#ArialMT-105\"/>\n",
       "      <use x=\"1128.417969\" xlink:href=\"#ArialMT-110\"/>\n",
       "      <use x=\"1184.033203\" xlink:href=\"#ArialMT-103\"/>\n",
       "      <use x=\"1239.648438\" xlink:href=\"#ArialMT-32\"/>\n",
       "      <use x=\"1267.431641\" xlink:href=\"#ArialMT-115\"/>\n",
       "      <use x=\"1317.431641\" xlink:href=\"#ArialMT-101\"/>\n",
       "      <use x=\"1373.046875\" xlink:href=\"#ArialMT-116\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"patch_3\">\n",
       "    <path clip-path=\"url(#p17b82ca1b1)\" d=\"M 54.020511 226.47023 \n",
       "L 151.641291 226.47023 \n",
       "L 151.641291 27.689106 \n",
       "L 54.020511 27.689106 \n",
       "z\n",
       "\" style=\"fill:#008fd5;stroke:#ffffff;stroke-linejoin:miter;stroke-width:0.5;\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_4\">\n",
       "    <path clip-path=\"url(#p17b82ca1b1)\" d=\"M 176.046485 226.47023 \n",
       "L 273.667265 226.47023 \n",
       "L 273.667265 21.392289 \n",
       "L 176.046485 21.392289 \n",
       "z\n",
       "\" style=\"fill:#008fd5;stroke:#ffffff;stroke-linejoin:miter;stroke-width:0.5;\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_5\">\n",
       "    <path clip-path=\"url(#p17b82ca1b1)\" d=\"M 298.072459 226.47023 \n",
       "L 395.693239 226.47023 \n",
       "L 395.693239 19.384515 \n",
       "L 298.072459 19.384515 \n",
       "z\n",
       "\" style=\"fill:#008fd5;stroke:#ffffff;stroke-linejoin:miter;stroke-width:0.5;\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_6\">\n",
       "    <path d=\"M 36.936875 226.47023 \n",
       "L 36.936875 9.03023 \n",
       "\" style=\"fill:none;stroke:#262626;stroke-linecap:square;stroke-linejoin:miter;stroke-width:3;\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_7\">\n",
       "    <path d=\"M 412.776875 226.47023 \n",
       "L 412.776875 9.03023 \n",
       "\" style=\"fill:none;stroke:#262626;stroke-linecap:square;stroke-linejoin:miter;stroke-width:3;\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_8\">\n",
       "    <path d=\"M 36.936875 226.47023 \n",
       "L 412.776875 226.47023 \n",
       "\" style=\"fill:none;stroke:#262626;stroke-linecap:square;stroke-linejoin:miter;stroke-width:3;\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_9\">\n",
       "    <path d=\"M 36.936875 9.03023 \n",
       "L 412.776875 9.03023 \n",
       "\" style=\"fill:none;stroke:#262626;stroke-linecap:square;stroke-linejoin:miter;stroke-width:3;\"/>\n",
       "   </g>\n",
       "  </g>\n",
       " </g>\n",
       " <defs>\n",
       "  <clipPath id=\"p17b82ca1b1\">\n",
       "   <rect height=\"217.44\" width=\"375.84\" x=\"36.936875\" y=\"9.03023\"/>\n",
       "  </clipPath>\n",
       " </defs>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "labels = ['Random allocation', 'Best treatment assignment', 'CounterfactualUnitSelector']\n",
    "values = [random_allocation_value, best_ate_value, cus_value]\n",
    "\n",
    "plt.bar(labels, values)\n",
    "plt.ylabel('Mean actual value in testing set')\n",
    "plt.xticks(rotation=45)\n",
    "plt.show()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
